<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
</body>
<script>
    // 脚本跨域：通过script标签加载地址 通过回调函数的形式将加载到的数据返回
    function callBack(data){
        console.log(data)
    }
</script>
<script src="https://suggest.taobao.com/sug?code=utf-8&q=水杯&&callback=callBack"></script>

</html>